package com.bw.paper.mvp.contact;

import com.bw.paper.mvp.base.model.BaseEntity;
import com.bw.paper.mvp.base.model.IModel;
import com.bw.paper.mvp.base.view.IView;

import java.util.Map;

import io.reactivex.Observable;
//契约接口

public interface SplashContract {
    interface ISplashModel extends IModel{
//        token接口的被观察者
        Observable<BaseEntity> reqstToken(Map<String,Object> map);
    }
    interface ISplashView extends IView {
//        请求完成后回调通知activity页面跳转
        void refresh();
    }
}
